package cn.edu.ujn.food.service;

import cn.edu.ujn.food.entity.Reservation;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

public interface ReservationService {

    Reservation queryById(Integer reserId);

    Page<Reservation> queryByPage(Reservation reservation, PageRequest pageRequest);

    Reservation insert(Reservation reservation);

    boolean deleteById(Integer reserId);

    cn.edu.ujn.util.Page<Reservation> selectAll(Reservation reservation);

    Reservation update(Reservation reservation);
}
